import {get, post,del,put,postById} from "@/api/http";

export const dirArticleList = (data) =>
 postById("/Article/GetAllToPage", data);

export const dirArticleDelete = (id) =>
  del("/Article/DelById", {id});

export const dirArticleCreate = (data) =>
  post("/Article/Post", data);

export const dirArticleUpdate = (data) =>
  put("/Article/Put", data);

